package model

import "go.mongodb.org/mongo-driver/bson/primitive"

type Production struct {
	Id         primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Creator    string             `bson:"creator" json:"creator" form:"creator"`       //创建者
	CreatedAt  string             `bson:"createdAt" json:"createdAt" form:"createdAt"` //后端生成时间
	Task       string             `bson:"task" json:"task" form:"task" binding:"required"`
	Amount     int                `bson:"amount" json:"amount" form:"amount" `
	Norms_Type string             `bson:"norms_type"  form:"norms_type" json:"norms_type"`
}
